package com.sinopec.basemodule.adapter;

import java.util.List;

/**
 * @author lwj
 * @ClassName: ItemViewDelegate
 * @Description:通用適配器
 */
public interface ItemViewDelegate<T> {
    int getItemViewLayoutId();

    boolean isForViewType(T item, int position);

    void convert(CustomViewHolder holder, T t, int position);

    void convert(CustomViewHolder holder, T t, int position, List<Object> payloads);
}
